<h1><?php echo __('Table de notifications du workflow ') . $wfmodele->description ?></h1>
<?php echo link_to( '<img title="' . __('Go Back').'" src="/images/icons/64/cancel.png"></img>', 'display/show?id='.$wfmodele->id.'&className=wfmodele');?>
<table>
<thead>
<tr>
	<th width="5%"><?php echo $objDef->renderLabel('ordre')?></th>
	<th width="20%"><?php echo $objDef->renderLabel('description')?></th>
	<th width="15%"><?php echo $objDef->renderLabel('etatorigine')?></th>
	<th width="15%"><?php echo $objDef->renderLabel('etatdestine')?></th>
	<th width="20%"><?php echo $objDef->renderLabel('role_valideur')?></th>
	<th width="25%"><?php echo __('Notifications')?></th>
</tr>
</thead>
<tbody>
<?php foreach($actions as $action):?>
<tr>
	<td><?php echo $objDef->renderAttributeValue($action, 'ordre')?></td>
	<td><?php echo $objDef->renderAttributeValue($action, 'description')?></td>
	<td><?php echo $objDef->renderAttributeValue($action, 'etatorigine')?></td>
	<td><?php echo $objDef->renderAttributeValue($action, 'etatdestine')?></td>
	<td><?php echo $objDef->renderAttributeValue($action, 'role_valideur')?></td>
	<td><?php if($action['sansmails']){
				echo __('Aucunne notification');
			  }else{
			  	if(in_array('999', $action['rolesNotification'])){
			  		echo __('All previous stakeholders in this process');
			  		
			  	}
				echo $objDef->renderAttributeValue($action, 'rolesNotification')	;
			  }?></td>
</tr>
<?php endforeach;;?>
</tbody>
</table>